﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FunArts.EasyDevOps.Rcl.ViewModels
{
    /// <summary>
    /// 检查系统安装的基础软件 没想好放哪先建个类扔里面
    /// </summary>
    public class SystemAppDataViewMode
    {
        /// <summary>
        /// 应用名称
        /// </summary>
        public string AppName { get; set; }
        /// <summary>
        /// 应用中文名称
        /// </summary>
        public string ChName { get; set; }
        /// <summary>
        /// 是否安装
        /// </summary>
        public bool IsExist { get; set; }
        public string OutData { get; set; }

        public static List<SystemAppDataViewMode> AppData => new List<SystemAppDataViewMode> {
            //new SystemAppDataViewMode(){AppName="mssql-server",ChName="Sql Server"},
            new SystemAppDataViewMode(){AppName="java",ChName="Java"},
            new SystemAppDataViewMode(){AppName="nginx",ChName="Nginx"},
            new SystemAppDataViewMode(){AppName="keepalived",ChName="KeepAlived"},
        };
    }
}
